package com.qidianit.springboot.dto;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2025/4/30 上午 10:17
 * @description
 **/
public class StudentProductDTO {

    private String name;
    private Integer age;
    private String productName;
    private Double price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "StudentProductDTO{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", productName='" + productName + '\'' +
                ", price=" + price +
                '}';
    }
}
